#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>

void log(const char* file_name, const int line, const char* fmt, ...)
{
    va_list ap;
    va_start (ap, info);
    printf ("%s %d :", file_name, line);//file_name可能是path_name
    vprintf (info, ap);
    printf ("\n");
    va_end(ap);
    return;
}
